import request from "../../utils/request"
export const getPermissionList=(data)=>{
    return request.get("/admin/getAllPermissionList",data)
}
export const addPermission=(data)=>{
    return request.post("/admin/addPermission",{permissionName:data.permissionName,permissionType:data.permissionType,description:data.description})
}
export const updatePermission=(data)=>{
    return request.post("/admin/updatePermission",{permissionName:data.permissionName,permissionType:data.permissionType,description:data.description})
}